# Texas

#########################################################################
#  Independence of Texas
#########################################################################
event = {
	id = 14400
	random = no
	country = TEX

	trigger = {
		atwar = no
		random = 2
		NOT = { is_satellite = TEX }
		NOT = { is_dominion = TEX }
	}

	name = "EVT_14400_NAME"
	desc = "EVT_14100_DESC"
	style = 0

	date = { day = 1 month = january year = 1836 }
	offset = 30
	deathdate = { day = 30 month = december year = 1845 }

	action_a = {
		name = "ACTIONNAME14400A" # Apply for statehood in the USA.
		command = { type = trigger which = 14100 } # USA
	}
	action_b = {
		name = "ACTIONNAME14400B" # Follow a line of strict independence
		command = { type = relation which = MEX value = 100 }
		command = { type = relation which = ENG value = 100  }
		command = { type = relation which = FRA value = 100  }
	}
}

#########################################################################
#  Texas accepted as a US State
#########################################################################
event = {
	id = 14401
	random = no
	country = TEX

	trigger = {
		atwar = no
		random = 10
		flag = { name = flg_annexing_texas value = 1 }
	}

	name = "EVT_14401_NAME"
	desc = "EVT_14101_DESC"
	style = 0

	date = { day = 1 month = january year = 1836 }
	offset = 30
	deathdate = { day = 30 month = december year = 1920 }

	action_a = {
		name = "OK" # Countersign it
		command = { type = trigger which = 14101 } # USA
	}
}
#########################################################################
#  Texas accepted as a US Territory
#########################################################################
event = {
	id = 14402
	random = no
	country = TEX

	# Triggered by USA 14100

	name = "EVT_14402_NAME"
	desc = "EVT_14101_DESC"
	style = 0

	action_a = {
		name = "ACTIONNAME14402A" # Independence is preferable over this
		command = { type = trigger which = 14122 } # USA
	}
	action_b = {
		name = "ACTIONNAME14402B" # Countersign it
		command = { type = trigger which = 14123 } # USA
	}
}
#########################################################################
#  Mexico invades again!
#########################################################################
event = {
	id = 14403
	random = no
	country = TEX

	# Triggered by MEX 14800

	name = "EVT_14403_NAME"
	desc = "EVT_14403_DESC"
	style = 0

	action_a = {
		name = "ARGH" # Aaargh!
		command = { }
	}
}
#########################################################################
#  Richmond asks us to join the Confederacy
#########################################################################
event = {
	id = 14404
	random = no
	country = TEX

	trigger = {
		exists = CSA
		war = { country = CSA country = USA }
		relation = { country = CSA data = 0 }
		NOT = { war = { country = CSA country = TEX } }
		NOT = {	is_satellite = TEX }
		NOT = { event = 14235 }
	}

	name = "EVT_14404_NAME"
	desc = "EVT_14206_DESC"
	style = 0

	date = { day = 1 month = january year = 1836 }
	offset = 8
	deathdate = { day = 30 month = december year = 1920 }

	action_a = {
		name = "ACTIONNAME1505B" # Stay Neutral
		command = { }
	}
	action_b = {
		name = "ACTIONNAME14404B" # Join the Confederacy
		command = { type = trigger which = 14206 }
	}
}

#########################################################################
#  Texas negotiates status with the United Kingdom
#########################################################################
event = {
	id = 14405
	random = no
	country = TEX

	trigger = {
		exists = ENG
		NOT = { exists = CSA }
		atwar = no
		NOT = { is_satellite = TEX }
		NOT = { is_dominion = TEX }
		random = 1
		relation = { country = ENG data = 100 }
		NOT = { won_war = { country = USA country = ENG } }
	}

	name = "EVT_14405_NAME"
	desc = "EVT_14405_DESC"
	style = 0

	date = { day = 1 month = january year = 1838 }
	offset = 60
	deathdate = { day = 30 month = december year = 1920 }

	action_a = {
		name = "ACTIONNAME14405A" # Suggest Dominion Status within the British Empire
		command = { type = trigger which = 6945 } # ENG
		command = { type = relation which = USA value = -50 }
		command = { type = relation which = MEX value = -20 }
	}
	action_b = {
		name = "ACTIONNAME14405B" # Let the negotiation talks break down
		command = { }
	}
}

#########################################################################
#  The Confederacy is Cracking
#########################################################################
event = {
	id = 14406
	random = no
	country = TEX

	trigger = {
		flag = { name = flg_CSA_cracking value = 1 }
		owned = { province = 1178 country = CSA } # Arkansas
		owned = { province = 1181 country = CSA } # Louisiana
	}

	name = "EVT_14406_NAME"
	desc = "EVT_14406_DESC"
	style = 0

	date = { day = 4 month = january year = 1855 }
	offset = 30
	deathdate = { day = 30 month = december year = 1880 }

	action_a = {
		name = "OK"
		command = { type = receivestate value = 1178 }
		command = { type = receivestate value = 1181 }
	}
}

#- Emancipation of the slaves (1860s-70s?)
#- Texan Manifest Destiny": Texas goes to war with Mexico in order to expand to the Pacific; or with California, if it exists.
#- Texan crusade against Deseret, if Deseret exists
#- Option to sponsor a rebellion in the Yucatan against Mexico, if Mexico controls the Yucatan.
#- If Confederacy survives the Civil War, "Schism of the Confederacy" whereby Arkansas, Louisiana, and Missouri (if part of the Confederacy) secede and join Texas. The Confederacy gets a chance to go to war to regain their lost territories.
#-	Why would they do this if they won? I think it would be more likely to happen if the Confederacy lost (or was losing) and the Union (as in real life) did not really attack west of the Mississippi. I'd say that the possibility of the real life "Kirby Smith-dom" seceeding to a fantasy non-combattant Texas is more likely. Of course this might lead to war with the victorious Union........					